/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Office._CustomXMLPart*/
public class _CustomXMLPart extends JavaScriptObject {

	protected _CustomXMLPart() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final CustomXMLNode getDocumentElement()/*-{
		return this.DocumentElement;
	}-*/;

	public native final String getId()/*-{
		return this.Id;
	}-*/;

	public native final String getNamespaceURI()/*-{
		return this.NamespaceURI;
	}-*/;

	public native final CustomXMLSchemaCollection getSchemaCollection()/*-{
		return this.SchemaCollection;
	}-*/;

	public native final void setSchemaCollection(CustomXMLSchemaCollection value)/*-{
		this.SchemaCollection = value;
	}-*/;

	public native final CustomXMLPrefixMappings getNamespaceManager()/*-{
		return this.NamespaceManager;
	}-*/;

	public native final String getXML()/*-{
		return this.XML;
	}-*/;

	public native final void addNode(CustomXMLNode parent, String name, String namespaceURI, CustomXMLNode nextSibling, int nodeType, String nodeValue)/*-{
		this.AddNode( parent, name, namespaceURI, nextSibling, nodeType, nodeValue);
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final boolean load(String filePath)/*-{
		return this.Load( filePath);
	}-*/;

	public native final boolean loadXML(String xML)/*-{
		return this.LoadXML( xML);
	}-*/;

	public native final CustomXMLNodes selectNodes(String xPath)/*-{
		return this.SelectNodes( xPath);
	}-*/;

	public native final CustomXMLNode selectSingleNode(String xPath)/*-{
		return this.SelectSingleNode( xPath);
	}-*/;

	public native final CustomXMLValidationErrors getErrors()/*-{
		return this.Errors;
	}-*/;

	public native final boolean getBuiltIn()/*-{
		return this.BuiltIn;
	}-*/;

}
